import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import axios from "axios";
import config from "./config/config"
import "@/assets/index.css"
axios.defaults.baseURL = config.baseUrl
axios.defaults.withCredentials = true
const app = createApp(App)

//组件
import { Radio,RadioGroup ,Input,Tabs,Avatar,Tag} from 'ant-design-vue';

app.use(Radio)
app.use(RadioGroup)
app.use(Tabs)
app.use(Tabs)
app.use(Input)
//
app.use(Avatar)
//
//
 app.use(Tag)
// app.use(ListItemMeta)
//
// app.use(ListItem)

//Icon


app.provide('$fileURL',config.baseUrl.slice(0,-5)+':8200/')
app.provide('$axios', axios)

app.use(router).mount('#app')
